#pragma once
#include "stdafx.h"
#include "Types.h"
#include "LineageBuffer.h"
#include "BufferConstraint.h"
#include "Element.h"
#include <boost/shared_ptr.hpp>
class LineageSynopsis
{
private:
	boost::shared_ptr<LineageBuffer>buffer;
	const int lineageNumber;
public:
	LineageSynopsis(int lineageNumber);
	~LineageSynopsis(void);
	
	void insertLineage(Lineage& lineage,Element& outputElement);
	bool getAndDeleteElement(Lineage& lineage, Element& outputElement);
	bool isFull(void);
};

